<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<center>
    <h1>修改用户信息</h1>
    <h3 style="color: red">${updateUserError}</h3>
    <form action="${pageContext.servletContext.contextPath}/user/update.do" method="post">
        <table border="1" width="50%">
            <tr>
                <td colspan="2" align="center">中关村 zpark.com</td>
            </tr>
            <tr>
                <td>输入姓名</td>
                <input hidden="hidden" type="text" name="id" value="${id}">
                <td><input type="text" name="username" readonly="readonly" placeholder="${username}" /></td>
            </tr>
            <tr>
                <td>输入密码</td>
                <td><input type="password" name="password" /></td>
            </tr>
            <tr>
                <td>选择性别</td>
                <td><input type="radio" name="sex" value="男" />男 <input
                        type="radio" name="sex" value="女" />女</td>
            </tr>
            <tr>
                <td>选择使用的语言</td>
                <td><input type="checkbox" name="language" value="JAVA" />JAVA
                    <input type="checkbox" name="language" value="C" />C语言 <input
                            type="checkbox" name="language" value="PHP" />PHP <input
                            type="checkbox" name="language" value="Python" />Python</td>
            </tr>
            <tr>
                <td>选择城市</td>
                <td><select name="city">
                    <option value="none">--请选择--</option>
                    <option value="beijing">北京</option>
                    <option value="shanghai">上海</option>
                    <option value="guangzhou">广州</option>
                </select></td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit" value="修改" /></td>
            </tr>
        </table>
    </form>
</center>
</body>
</html>
